import { ipcMain } from 'electron'

export function setupChatHandlers() {
  // 暂时注释掉 OpenAI 相关代码
  ipcMain.handle('chat:init', async (event, apiKey: string) => {
    return { success: false, error: 'OpenAI 功能暂未实现' }
  })

  ipcMain.handle('chat:send', async (event, message: string, context: any[]) => {
    return { success: false, error: 'OpenAI 功能暂未实现' }
  })

  ipcMain.handle('chat:speech-to-text', async (event, audioData: Buffer) => {
    return { success: false, error: 'OpenAI 功能暂未实现' }
  })
} 